Java Magazine: Microservices and Containers by Andrew Benstock
Author:Andrew Benstock [Benstock, Andrew]
Language: eng
Format: azw3
Publisher: UNKNOWN
Published: 2018-12-02T16:00:00+00:00
The compile script from the Java module sample application needs to be modiied slightly to include the updated module source path and the path to the OSGi math bundle ile (in the classpath):
javac -d out -classpath ./math/target/*.jar --module-source-path ./math/src -m simulation.math
The application layer modularity remains the same, because it’s simply loading the Java module wrappers around the OSGi bundles.
Conclusion Cooperation beats rivalry. When combined, Java modules and OSGi ofer a more complete and robust modularity solution than either ofers on its own. For example, without Java modules, OSGi cannot support compile-time enforcement of dependencies. Likewise, application-level modularity isn’t as complete and lifecycle control isn’t as robust without OSGi.
Combining both also helps existing OSGi applications leverage a growing number of Java 9 modules, and it ofers a clean integration (and, possibly, migration) path to build OSGi bundles and services into Java 9 applications.
I’ll close with a inal thought: when polarizing concepts arise in computer science (for example, the OS wars, the C++ versus Java debate, and framework diferences), it’s often better to avoid being religious and instead ind ways to work together.</article>
Eric J. Bruno is a lead real-time engineer at Perrone Robotics, where he’s teaching cars to drive themselves. He has 25 years’ experience in the information technology community as an enterprise architect, developer, and analyst with expertise in large-scale distributed software design.
SPENCER WOOD
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12705)
Hello! Python by Anthony Briggs(10009)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9878)
The Mikado Method by Ola Ellnestam Daniel Brolund(9876)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(9839)
Dependency Injection in .NET by Mark Seemann(9422)
Hit Refresh by Satya Nadella(8874)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8389)
The Kubernetes Operator Framework Book by Michael Dame(8017)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7841)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7809)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7802)
Grails in Action by Glen Smith Peter Ledbrook(7774)
Practical Computer Architecture with Python and ARM by Alan Clements(7754)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7721)
Robo-Advisor with Python by Aki Ranin(7702)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7656)
Building Low Latency Applications with C++ by Sourav Ghosh(7603)
Svelte with Test-Driven Development by Daniel Irvine(7588)
